combobox: Fix accessible implementation
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 May 2020 05:22:30 +0000 (01:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 11 May 2020 19:42:51 +0000 (15:42 -0400)
Now that GtkComboBox is no longer a container,
update the accessible implementation to match.

gtk/a11y/gtkcomboboxaccessible.h

index cb13b7e20d83fee9b135df892f8bfc96c6dbdac8..4ce10b1e8b8db47dfdfd2a57d07379b0381d1c5c 100644 (file)
@@ -22,7 +22,7 @@
 #error "Only <gtk/gtk-a11y.h> can be included directly."
 #endif
 
-#include <gtk/a11y/gtkcontaineraccessible.h>
+#include <gtk/a11y/gtkwidgetaccessible.h>
 
 G_BEGIN_DECLS
 
@@ -39,14 +39,14 @@ typedef struct _GtkComboBoxAccessiblePrivate GtkComboBoxAccessiblePrivate;
 
 struct _GtkComboBoxAccessible
 {
-  GtkContainerAccessible parent;
+  GtkWidgetAccessible parent;
 
   GtkComboBoxAccessiblePrivate *priv;
 };
 
 struct _GtkComboBoxAccessibleClass
 {
-  GtkContainerAccessibleClass parent_class;
+  GtkWidgetAccessibleClass parent_class;
 };
 
 GDK_AVAILABLE_IN_ALL